<include file="home/public/head"/>

<div class="pc">
    <div class="header">
        <div class="container between">
            <div class="logo">
                 <img src="/static/yongtai/image/logo.png">
            </div>
            <div class="contact between">
                <div class="icon">
                    <img src="/static/yongtai/image/icon_tel.png">
                </div>
                <div class="">
                    <div class="">咨询服务热线：</div>
                    <div class="tel_number">{:cmf_get_plugin_config('yongtai')['phone_zx']}</div>
                </div>
            </div>
        </div>
    </div>

    <div class="nav">
        <div class="container">
            <include file="home/public/nav"/>
        </div>
    </div>

    <div class="banner">
        <div class="swiper-container">
            <div class="swiper-wrapper">
                <volist name="banner" id="item">
                    <div class="swiper-slide"
                         style="background-image: url('{$item.image}')"></div>
                </volist>
            </div>
            <div class="swiper-pagination swiper_offset"></div>
        </div>
    </div>

<!--    <div class="search">-->
<!--        <div class="search_input">-->
<!--            <input type="text" name="textfield" id="sm_input_search" class="sm_input" placeholder="输入您的商标名称，如：加多宝">-->
<!--            <div class="btn-select" id="btn_select">-->
<!--                <select>-->
<!--                    <option value="0" selected>商标注册</option>-->
<!--                    <option value="1">专利申请</option>-->
<!--                    <option value="2">公司查询</option>-->
<!--                    <option value="3">版权服务</option>-->
<!--                </select>-->
<!--            </div>-->
<!--            <button class="search_button">免费查询能否注册</button>-->
<!--        </div>-->
<!--    </div>-->

    <div class="news_list">
        <div class="container">
            <div class="sidebar">
                <div class="menu">
                    <div class="title">
                        <span class="icon"><img src="/static/yongtai/image/xw_ico.png" alt=""></span>
                        <span class="text">栏目导航</span>
                    </div>

                    <ul class="clearfix">
                        <volist name="_nav" id="item">
                            <li>
                                <a href="{:cmf_plugin_url('yongtai://Home/News')}?pid={$item['id']}">{$item.title}</a>
                            </li>
                        </volist>
                    </ul>
                </div>

<!--                <div class="contact">-->
<!--                    <div class="title">-->
<!--                        <span class="icon"><img src="./image/ico2.png" alt=""></span>-->
<!--                        <span class="text">联系我们</span>-->
<!--                    </div>-->
<!--                    <div class="infomation">-->
<!--                        <div class="phone">-->
<!--                            <div>咨询热线:</div>-->
<!--                            <div class="number">{:cmf_get_plugin_config('yongtai')['phone_hot_line']}</div>-->
<!--                        </div>-->
<!--                        <div class="line">-->
<!--                            <span>客服：</span>-->
<!--                            <span>-->
<!--                                    <img src="/static/yongtai/image/button_11.gif" alt="">-->
<!--                                </span>-->
<!--                        </div>-->
<!--                        <div class="line">-->
<!--                            <span>地址：</span>-->
<!--                            <span>{:cmf_get_plugin_config('yongtai')['address']}</span>-->
<!--                        </div>-->
<!--                        <div class="line">-->
<!--                            <span>邮箱：</span>-->
<!--                            <span>{:cmf_get_plugin_config('yongtai')['email']}</span>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
            </div>

            <div class="content">
                <div class="crumb">
                    您所在的位置：
                    <include file="home/public/crumb"/>
                </div>

                <div class="context">
                    <div class="title">{$data.title}</div>
                    <div class="information">
<!--                        <div class="source">-->
<!--                            <span>来源：</span>-->
<!--                            <span>山东志邦知识产权代理有限公司</span>-->
<!--                        </div>-->
                        <div class="date">
                            <span>发表时间：</span>
                            <span>{:date('Y-m-d',$data['create_time'])}</span>
                        </div>
                        <div class="font_size">
                            <span>字体大小：</span>
                            <span>
                                    <dd>小</dd>
                                    <dd>中</dd>
                                    <dd>大</dd>
                                </span>
                        </div>
                    </div>

                    <div class="inner_text">
                        <div class="article_content_area" id="article_content">
                            {:htmlspecialchars_decode($data['content'])}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <include file="home/public/foot_pc"/>
</div>

<div class="mobile">
    <div class="warp">
        <div class="logo">
             <img src="/static/yongtai/image/logo.png">
        </div>
        <div class="nav">
            <include file="home/public/nav_mobile"/>
        </div>

<!--        <div class="search">-->
<!--            <select>-->
<!--                <option>商标注册</option>-->
<!--                <option>专利申请</option>-->
<!--                <option>公司查询</option>-->
<!--                <option>版权服务</option>-->
<!--            </select>-->
<!--            <input type="text">-->
<!--            <button>免费查询能否注册</button>-->
<!--        </div>-->

        <include file="home/public/crumb_mobile"/>

        <include file="home/public/sidebar_mobile"/>

        <div class="context">
            <div class="title">{$data.title}</div>
            <div class="information">
                <div class="date">
                    <span>{:date('Y-m-d',$data['create_time'])}</span>
                </div>
            </div>

            <div class="inner_text">
                <div class="article_content_area">
                    {:htmlspecialchars_decode($data['content'])}
                </div>
            </div>
        </div>

        <div class="mobile_number">
            <a href="">点击在线订购:{:cmf_get_plugin_config('yongtai')['phone_zx']}</a>
        </div>

        <include file="home/public/foot_mobile"/>

        <include file="home/public/navigation"/>
    </div>
</div>

<script>
    let swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        effect: 'fade',
        centeredSlides: true,
        autoplay: 2500,
        autoplayDisableOnInteraction: true,
        loop: true,
    });
</script>
<include file="home/public/foot"/>